<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <title>{$title}车辆品牌</title>
        <link href="{:C('WEB_URL')}Public/admin/style/base.css" rel="stylesheet" type="text/css" />
        <link href="{:C('WEB_URL')}Public/admin/style/master.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/jquery1.9.1.js"></script>
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/base.js"></script>

    </head>
    <body>
        <div id="wrapper">
            <h2>{$title}车辆品牌<a href="javascript:history.go(-1)">返回</a></h2>
            <form action="{:U('save_brand')}" method="post" enctype="multipart/form-data">
                <table class="form" >
                    <tr><td class="tkey">品牌名称：</td><td><input type="text" value="{$data['brand_name']}" name="brand_name" class="inputText"/></td></tr>
                    <tr><td class="tkey">首字母(大写)：</td><td><input type="text" value="{$data['letter']}" name="letter" class="inputText"/></td></tr>
                    <tr>
                        <td class="tkey w160">品牌logo:</td>
						<td>
							<?php if($data['brand_logo']){ ?>
							<img src="{:C('WEB_URL')} {$data['brand_logo']}" style="width:50px">
							<?php }else{ ?>
							请上传图片
							<?php } ?>
							<input type="file" name="brand_logo"  />
						</td>
                    </tr>
                    <input type="hidden" name ='brand_id' value="{$data['brand_id']}">
                    <tr><td class="tkey"></td><td><input type="submit" value="确定"  class="btnOrange"  /></td></tr>
                </table>
            </form>

        </div>

    </body>
</html>